-- Do not manually edit this file, it was auto-generated by dillonkearns/elm-graphql
-- https://github.com/dillonkearns/elm-graphql


module Qore.Object.Defitem exposing (..)

import Graphql.Internal.Builder.Argument as Argument exposing (Argument)
import Graphql.Internal.Builder.Object as Object
import Graphql.Internal.Encode as Encode exposing (Value)
import Graphql.Operation exposing (RootMutation, RootQuery, RootSubscription)
import Graphql.OptionalArgument exposing (OptionalArgument(..))
import Graphql.SelectionSet exposing (SelectionSet)
import Json.Decode as Decode
import Qore.InputObject
import Qore.Interface
import Qore.Object
import Qore.Scalar
import Qore.ScalarCodecs
import Qore.Union


label : SelectionSet decodesTo Qore.Object.Label -> SelectionSet decodesTo Qore.Object.Defitem
label object_ =
    Object.selectionForCompositeField "label" [] object_ identity


item : SelectionSet decodesTo Qore.Object.Item -> SelectionSet decodesTo Qore.Object.Defitem
item object_ =
    Object.selectionForCompositeField "item" [] object_ identity


id : SelectionSet (Maybe String) Qore.Object.Defitem
id =
    Object.selectionForField "(Maybe String)" "id" [] (Decode.string |> Decode.nullable)


altrender : SelectionSet (Maybe String) Qore.Object.Defitem
altrender =
    Object.selectionForField "(Maybe String)" "altrender" [] (Decode.string |> Decode.nullable)


audience : SelectionSet (Maybe String) Qore.Object.Defitem
audience =
    Object.selectionForField "(Maybe String)" "audience" [] (Decode.string |> Decode.nullable)


lang : SelectionSet (Maybe String) Qore.Object.Defitem
lang =
    Object.selectionForField "(Maybe String)" "lang" [] (Decode.string |> Decode.nullable)


script : SelectionSet (Maybe String) Qore.Object.Defitem
script =
    Object.selectionForField "(Maybe String)" "script" [] (Decode.string |> Decode.nullable)
